﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Luminji.Core.Enterprise.Aop;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Luminji.Core.UnitTest.Aop
{
    [TestClass]
    public class AopTest
    {
        [TestMethod]
        public void TestAop()
        {
            SampleClass s = new SampleClass();
            s.DoSomething();
        }

        class SampleClass : ContextBoundObject
        {
            [Security]
            [Tracing]
            public void DoSomething()
            {
                Console.WriteLine("do something");
            }
        }
    }

    
}
